/**
 * @Author       : Mo 2427995270@qq.com
 * @Date         : 2024-03-29 11:23:11
 * @LastEditTime : 2024-03-30 17:20:07
 * @FilePath     : \GD32F407Preject\sd\drv_sdcard.h
 * @Description  : sd卡驱动接口
 * @Version      : V1.0
 * @History      : 
 * @Note         : 
 */

#ifndef  __drv_sdcard_H__
#define  __drv_sdcard_H__

/***************************************Includes***********************************/
#include "sdcard.h"

/*************************************Public Macros********************************/
//#define


/***********************************Public Statement*******************************/



/***********************************Public Functions*******************************/

/*!
    \brief      initialize the card, get the card information, set the bus mode and transfer mode
    \param[in]  none
    \param[out] none
    \retval     sd_error_enum
*/
sd_error_enum sd_io_init(void);
/*!
    \brief      get the card information and print it out by USRAT
    \param[in]  none
    \param[out] none
    \retval     none
*/
void card_info_get(void);

/***************************************Public Variables**********************************/
extern sd_card_info_struct sd_cardinfo;

#endif
/* [] END OF FILE */
